<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页配置</title>
<link rel="stylesheet" type="text/css" href="template/admin.css"/>
<script type="text/javascript" src="template/images/jquery.js"></script>
<?php
	$tech_num = (count($tech_arr)-1);
	$show_tech = $tech_arr[rand(0,$tech_num)];
?>
<!--
<script type="text/javascript">

	$(document).ready(function(){
		$str = '<?php echo $show_tech;?>';
		$('#show_tech').html("<em>小提示：</em>"+$str).fadeIn('slow');
	});

</script>
-->
</head>

<body>
<div class="admin_position"><span>当前位置 > 网站首页配置</span><p id="show_tech" style="display:none"></p></div><!--位置-->
	<div class="order_contain">
<form name="maininfo" method="post" enctype="multipart/form-data" action="?" class="form">
		<div class="order_main">
 <table cellpadding="0" cellspacing="0" width="100%" class="table_info1">
 	<thead>
		<tr><th class="w1">参数说明</th><th class="w2">参数值</th><th class="w3">变量名</th></tr>
	</thead>
	<tbody>
		<tr>
		  <td class="w1"><span title="开启该功能，首先进入的是引导页" class="help">开启flash引导页：</span></td><td class="w2"><label for="is_flash"><input type="radio" value="1" name="flash_is" id="is_flash" style="margin:0 5px; border:none" <?php if($index_info['flash_is'][0]){?>checked="checked"<?php }?>/>是</label><label for="is_flash1"><input style="margin:0 5px; border:none" id="is_flash1" type="radio" value="0" name="flash_is" <?php if(!$index_info['flash_is'][0]){?>checked="checked"<?php }?>/>否</label>&nbsp;<span class="cms_info">flash动画上传到template目录下，修改flash.html中的路径</span></td><td class="w3"></td>
		</tr>
		
		<tr>
		  <td class="w1">首页语言：</td><td class="w2"><select name="index_lang">
		  <?php
		  if($lang_cache){
		  	foreach($lang_cache as $k=>$v){
			  if(!$v['lang_is_use']){continue;}
				$ck='';
				if($v['id']==$index_info['index_lang']){$ck="selected=\"selected\"";}
				echo "<option value=\"{$v['id']}\" {$ck}>{$v['lang_name']}</option>";
			}
		  }
		  ?>
		  
		  </select></td><td class="w3"></td>
		</tr>
		
	</tbody>
 </table>
 </div>
<div class="order_btn">
<input type="hidden" name="action" value="save_index"/>
  <input type="submit" value="确定" class="go" name="submit"/><input type="reset" style="margin:0 10px;" class="go" value="重置" name="reset"/>
 </div>
</form>
</div>

</body>
</html>
